package com.gitee.starblues.grape.core.domain.dto.user;

import org.hibernate.validator.constraints.NotEmpty;

public class PasswordUpdateDto {
	@NotEmpty
	private String oldPassword;
	@NotEmpty
	private String newPassword;

	public String getOldPassword() {
		return oldPassword;
	}

	public void setOldPassword(String oldPassword) {
		this.oldPassword = oldPassword;
	}

	public String getNewPassword() {
		return newPassword;
	}

	public void setNewPassword(String newPassword) {
		this.newPassword = newPassword;
	}

}
